/* 通用样式 */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/* 顶部导航栏样式 */
#banner {
    background-color: #005bac;
    color: #fff;
    padding: 10px;
    text-align: right;
}

#banner li {
    display: inline-block;
    margin-left: 15px;
}

#banner a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

#banner a:hover {
    text-decoration: underline;
}

/* 页眉样式 */
header {
    background-color: #004080;
    color: #fff;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 28px;
}

header nav ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    text-decoration: underline;
}

/* 主体内容样式 */
main {
    padding: 20px;
    background-color: #ffffff;
    margin: 20px auto;
    width: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #004080;
    border-bottom: 2px solid #004080;
    padding-bottom: 5px;
}

section#学院领导 p {
    color: #555;
    margin-bottom: 20px;
}

/* 图文列表样式 */
#图文列表 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

#图文列表 article {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    width: calc(33% - 20px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

#图文列表 article:hover {
    transform: translateY(-5px);
}

#图文列表 h3 {
    color: #005bac;
    margin-top: 0;
    font-size: 18px;
}

#图文列表 h3 a {
    text-decoration: none;
    color: inherit;
}

#图文列表 p {
    margin: 10px 0;
    color: #666;
}

#图文列表 p:first-of-type {
    font-weight: bold;
}

/* 页脚样式 */
footer {
    background-color: #004080;
    color: #fff;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
}

footer section {
    margin-bottom: 20px;
}

footer h2 {
    font-size: 20px;
}

footer ul {
    list-style-type: none;
    padding: 0;
}

footer ul li {
    margin: 5px 0;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
}

footer ul li a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    #图文列表 {
        flex-direction: column;
    }

    #图文列表 article {
        width: 100%;
    }
}
